import { type RouteRecordRaw } from 'vue-router';
import { service } from '/@/cool';

export default (): RouteRecordRaw[] => {
	return [
		{
			path: '/brand',
			name: '品牌管理', // Changed from Chinese to English for consistency if needed
			component: () => import('./views/list.vue'),
			meta: {
				label: '品牌列表', // Changed from Chinese to English for consistency if needed
				keepAlive: true
			},
			beforeEnter: (_, __, next) => {
				// Example: check for permissions before entering route
				// Replace with actual permission check if needed
				next();
			}
		}
	];
};
